package com.example.demo07cache.event;

import lombok.Getter;
import org.springframework.context.ApplicationEvent;

/**
 * @author wangxun
 */
@Getter
public class RedisDeleteKeyEvent extends ApplicationEvent {

    private final String redisKey;

    public RedisDeleteKeyEvent(String redisKey) {
        super(redisKey);
        this.redisKey = redisKey;
    }
}
